home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Borland
/
Borland C++ V5.02
/
SUPERPD.PAK
/
PAGESET.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-05-06
|
2KB
|
65 lines
// pageset.h : page setup dialog interface
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1995 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.
#ifndef _PAGESET_H_
#define _PAGESET_H_
/////////////////////////////////////////////////////////////////////////////
// CPageSetupDlg dialog
class CPageSetupDlg : public CDialog
{
DECLARE_DYNAMIC(CPageSetupDlg)
// Construction
public:
CPageSetupDlg(CWnd* pParent = NULL); // standard constructor
void Initialize();
void Terminate();
// Dialog Data
//{{AFX_DATA(CPageSetupDlg)
enum { IDD = IDD_PAGE_SETUP };
CString m_strFooter;
CString m_strHeader;
int m_iFooterTime;
int m_iHeaderTime;
//}}AFX_DATA
CString m_strFooterOld;
CString m_strHeaderOld;
int m_iFooterTimeOld;
int m_iHeaderTimeOld;
// Operations
void FormatHeader(CString& strHeader, CTime& time,
LPCTSTR pszFileName, UINT nPage);
void FormatFooter(CString& strFooter, CTime& time,
LPCTSTR pszFileName, UINT nPage);
// Implementation
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
static void FormatFilePage(
CString& strFormat, LPCTSTR pszFileName, UINT nPage);
// Generated message map functions
//{{AFX_MSG(CPageSetupDlg)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif // _PAGESET_H_
/////////////////////////////////////////////////////////////////////////////